//
//  ZYChatMode.h
//  Tourism
//
//  Created by 张亚 on 16/1/25.
//  Copyright © 2016年 zhangya. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum {
    ZYChatModeTypeMe = 0, //自己
    ZYChatModeTypeOther   //他人

}ZYChatModeType;

@interface ZYChatMode : NSObject

@property (nonatomic,copy) NSString * text;

@property (nonatomic,copy) NSString * time;

@property (nonatomic,assign) ZYChatModeType type;

@property (nonatomic,assign) BOOL hideTime;

- (instancetype)initWithDict:(NSDictionary *)dict;
+ (instancetype)chatWithDict:(NSDictionary *)dict;

@end
